#ifndef RecordInfo_H
#define RecordInfo_H

#endif // RecordInfo_H
#include <QWidget>
#include<QDateTime>
class RecordInfo
{
public:

    RecordInfo() {}

    int getDiagnosisNumber() const;
    void setDiagnosisNumber(int value);

    QString getPicture() const;
    void setPicture(const QString &value);

    QString getDetectingResultMessage() const;
    void setDetectingResultMessage(const QString &value);

    QDateTime getCreatTime() const;
    void setCreatTime(const QDateTime &value);

    QDateTime getUpdateTime() const;
    void setUpdateTime(const QDateTime &value);

private:
    int DiagnosisNumber;//就诊号
    QString picture;//图片地址
    QString detectingResultMessage;
    QDateTime creatTime;
    QDateTime updateTime;
};



int RecordInfo::getDiagnosisNumber() const
{
return DiagnosisNumber;
}

void RecordInfo::setDiagnosisNumber(int value)
{
DiagnosisNumber = value;
}

QString RecordInfo::getPicture() const
{
return picture;
}

void RecordInfo::setPicture(const QString &value)
{
picture = value;
}

QString RecordInfo::getDetectingResultMessage() const
{
return detectingResultMessage;
}

void RecordInfo::setDetectingResultMessage(const QString &value)
{
detectingResultMessage = value;
}

QDateTime RecordInfo::getCreatTime() const
{
return creatTime;
}

void RecordInfo::setCreatTime(const QDateTime &value)
{
creatTime = value;
}

QDateTime RecordInfo::getUpdateTime() const
{
return updateTime;
}

void RecordInfo::setUpdateTime(const QDateTime &value)
{
updateTime = value;
}
